import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state:{
    themecolor:'element'//默认为element
  },
  mutations:{
    //更新主题颜色
    setThemeColor(state,curcolor){
      this.state.themecolor = curcolor;
    }
  },
  actions: {
  },
  modules: {
  }
})
